<h4>Daftar Pesanan ON_Store</h4>

<table class="table">
    <tr>
        <th>Tanggal</th>
        <th>Nama Pemesan</th>
        <th>Status</th>
        <th>Produk</th>
        <th>Harga</th>
        <th></th>   
    </tr>   
    {foreach from=$pro item=s}
    <tr>
        <td>{$s.tgl}</td>
        <td>{$s.realname}</td>
        <td>{$s.status}</td>
        <td><img src="{$s.img}" width='200px'></td>
        <td>{$s.harga}</td>        
        <td>
            <a href="editorder.php?idpesan={$s.idpesan}" class="btn btn-small btn-success">Edit</a>
            <a href="order.php?a=del&idpesan={$s.idpesan}" class="btn btn-small btn-warning">Delete</a>
        </td>
    </tr>
    {/foreach}  
</table>
